import request from '@/request/request.js';
// import upload from '@/upload/upload.js';

/**
 * @function 账号登录-快速登录
 */
export function loginFast(data) {
	return request({
		url: '/xcxAuth/login',
		headers: {
			isToken: false,
		},
		method: 'post',
		data: data
	})
}

/**
 * @function 更新token
 */
export function refreshToken(data) {
	return request({
		url: '/xcxAuth/refreshToken',
		headers: {
			isToken: false,
		},
		method: 'post',
		data: data
	})
}
